package com.changgou.goods.config;

import entity.IdWorker;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @Auther: 王灿
 * @Date: 2020/2/24 20:05
 * @Description:
 */
@Configuration
public class MyConfig {

    @Bean
    public IdWorker idWorker(){
        return new IdWorker(0,0);
    }
}
